<?php
class TblKhoahoc
{

    private $id_khoahoc;
    private $nam_khoahoc;
    private $mota_khoahoc;
    private $id_dv_ctdt;
    private $ma_cb;    
    //them 
    private $ten_donvi;
    private $ma_ctdt;
    private $hoten_cb;    

    function __construct()
    {
    }

    function __destruct()
    {
    }

    public function setKhoahoc($id_khoahoc,$nam_khoahoc,$mota_khoahoc,$id_dv_ctdt,$ma_cb){
        $this->id_khoahoc = $id_khoahoc;
        $this->nam_khoahoc = $nam_khoahoc;
        $this->mota_khoahoc = $mota_khoahoc;
        $this->id_dv_ctdt = $id_dv_ctdt;
        $this->ma_cb = $ma_cb;  
    }
    
    public function setKhoahocFull($id_khoahoc,$nam_khoahoc,$mota_khoahoc,$id_dv_ctdt,$ma_cb,$ten_donvi,$ma_ctdt,$hoten_cb){
        $this->id_khoahoc = $id_khoahoc;
        $this->nam_khoahoc = $nam_khoahoc;
        $this->mota_khoahoc = $mota_khoahoc;
        $this->id_dv_ctdt = $id_dv_ctdt;
        $this->ma_cb = $ma_cb;  
        $this->ten_donvi = $ten_donvi; 
        $this->ma_ctdt = $ma_ctdt; 
        $this->hoten_cb = $hoten_cb; 
    }
    public function setKH($nam_khoahoc,$mota_khoahoc,$id_dv_ctdt,$ma_cb){
       // $this->id_khoahoc = $id_khoahoc;
        $this->nam_khoahoc = $nam_khoahoc;
        $this->mota_khoahoc = $mota_khoahoc;
        $this->id_dv_ctdt = $id_dv_ctdt;
        $this->ma_cb = $ma_cb;  
    }
    
    
    public function getid_khoahoc()
    {
        return $this->id_khoahoc;
    }

    public function getnam_khoahoc()
    {
        return $this->nam_khoahoc;
    }  
    
    public function getmota_khoahoc()
    {
        return  $this->mota_khoahoc;
    }

    public function getid_dv_ctdt()
    {
        return $this->id_dv_ctdt;
    } 
    public function getma_cb()
    {
        return  $this->ma_cb;
    }
    public function getten_donvi()
    {
        return  $this->ten_donvi;
    }
    public function getma_ctdt()
    {
        return  $this->ma_ctdt;
    }
    public function gethoten_cb()
    {
        return  $this->hoten_cb;
    }
    public function setten_donvi($newVal)
    {
        $this->ten_donvi = $newVal;
    } 
     public function setma_ctdt($newVal)
    {
        $this->ma_ctdt = $newVal;
    } 
     public function sethoten_cb($newVal)
    {
        $this->hoten_cb = $newVal;
    } 
    /**
     * 
     * @param newVal
     */
    public function setid_khoahoc($newVal)
    {
         $this->id_khoahoc = $newVal;
    }

    /**
     * 
     * @param newVal
     */
    public function setnam_khoahoc($newVal)
    {
         $this->nam_khoahoc = $newVal;
    }

    /**
     * 
     * @param newVal
     */
    public function setmota_khoahoc($newVal)
    {
       $this->mota_khoahoc = $newVal;
    }

    /**
     * 
     * @param newVal
     */
    public function setid_dv_ctdt($newVal)
    {
         $this->id_dv_ctdt = $newVal;
    }

    /**
     * 
     * @param newVal
     */
    public function setma_cb($newVal)
    {
        $this->ma_cb = $newVal;
    } 

}
?>